package com.hainatong.mvvmbase.loadsir.layoutcallback;

import android.content.Context;
import android.view.View;
import android.widget.Toast;

import com.hainatong.mvvmbase.R;
import com.hainatong.mvvmbase.loadsir.callback.Callback;

public class TimeoutCallback extends Callback
{

    @Override
    protected int onCreateView()
    {
        return R.layout.layout_timeout;
    }


    @Override
    protected boolean onReloadEvent(Context context, View view)
    {
        Toast.makeText(context.getApplicationContext(),"跳转网络设置!",Toast.LENGTH_SHORT).show();
        return true;
    }
}
